/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.unesp.demac.bcc.soo.dao;

import br.unesp.demac.bcc.soo.bean.Contato;
import br.unesp.demac.bcc.soo.bean.Pessoa;
import java.sql.Connection;

/**
 *
 * @author flavioam
 */
public interface ContatoDAO {

    boolean salvaContato(Pessoa p, Connection con) throws Exception;

    Contato selecionaContadoByIdPessoa(int idPessoa) throws Exception;
    
    boolean editaContato(Pessoa p,Connection con) throws Exception;
    
}
